//
//  AutomationViewController.h
//  OST
//
//  Created by mac on 13-7-6.
//  Copyright (c) 2013年 mac. All rights reserved.
//

#import "BaseTableViewController.h"
#import "CameraWebView.h"
#import "AutomationCell.h"
#import "ChangeInfoDialog.h"

@interface AutomationViewController : BaseTableViewController<UIActionSheetDelegate,AutomationCellDelegate,UIAlertViewDelegate,changeDataDicDelegate,NSURLConnectionDelegate,NSURLConnectionDataDelegate>
{
    int what;
    CameraWebView *cameraView;
    
    NSMutableArray *deviceList;
    NSTimer *timer;
    NSString *strUuid;
    NSMutableArray *resultItem; //局域网设备列表
    BOOL isLoaded;
    int count;
    NSMutableArray *tcpResultItem;//广域网设备列表
    
    BOOL addTooLong;    //添加设备BOOL
    BOOL deleteTooLong; //删除设备BOOL
    NSMutableData *receivedData;
}

@property (nonatomic,retain) NSArray *cameras;
@property (nonatomic,retain) NSString *ids;


-(void)openAll:(UIButton *)sender;
-(void)openCamera;

@end
